package com.jinbo.footmessage;

import com.jinbo.footmessage.httpbean.WorkerInformationBean;

/**
 * Created by JinBo on 2016/4/2.
 */

//不用到这个类
public class MyRandOrderBean extends WorkerInformationBean implements Comparable {
/*    private String id;
    private String name;// 用户名字
    private int  order_number;
    private String head;
    private String speciality;
    private int age;
    private String sex;//性别
    private double star;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getOrder_number() {
        return order_number;
    }

    public void setOrder_number(int order_number) {
        this.order_number = order_number;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public double getStar() {
        return star;
    }

    public void setStar(double star) {
        this.star = star;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getSpeciality() {
        return speciality;
    }

    public void setSpeciality(String speciality) {
        this.speciality = speciality;
    }*/

    @Override
    public int compareTo(Object another) {
        MyRandOrderBean bean= (MyRandOrderBean)another;
            if (this.getOrder_number()> bean.getOrder_number())
                return -1;
            else
                return 1;

    }

}
